<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        @media screen and (max-width:1920px) {
            div {
                font-size: 14px;
            }
        }

        @media screen and (min-width:375px) and (max-width:600px) {
            div {
                font-size: 42px;
            }
        }
    </style>
</head>

<body>
    <div>
        Test content
        <button id="test">测试</button>
    </div>
    <script>
        window.onload = () => {
            setInterval(() => {
                clickTest()
            }, 5000)
        }

        function clickTest() {
            console.info('click test')
        }
    </script>
</body>

</html>